package cn.argentoaskia.crm.service.select;

import cn.argentoaskia.crm.bean.Department;
import cn.argentoaskia.crm.dao.DepartmentDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DepartmentServiceImpl implements DepartmentService{

    @Autowired
    private DepartmentDao departmentDao;

    @Override
    public List<Department> getDepartmentList() {
        return departmentDao.getDepartmentList ();
    }
}
